package com.xinruke.hostels.system.manage.interfaces.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinruke.hostels.common.vo.query.BaseQueryVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @ClassName RoomUnusedQueryDTO
 * @CreateDate 2019/7/2
 * @Author FengXinQiang
 * @Version V1.0.0.0
 * @Decription 未使用房间查询请求
 */
@ApiModel("未使用房间查询请求")
@Data
public class RoomUnusedQueryDTO extends BaseQueryVO {
    @ApiModelProperty(value = "开始时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @NotNull(message = "开始时间不能为空")
    private Date kaishishijian;

    @ApiModelProperty(value = "结束时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @NotNull(message = "结束时间不能为空")
    private Date jieshushijian;

    @ApiModelProperty("楼栋id")
    private Integer loudongId;

    @ApiModelProperty("楼层id")
    private Integer loucengId;

    @ApiModelProperty("房型id")
    private Integer fangxingId;

    @ApiModelProperty("房间状态")
    private Integer fangjianzhuangtai;
}
